package laMalinche.AnnotatedRules;

import laMalinche.rete.rule.BusinessRuleType;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Created by IntelliJ IDEA.
 * User: ranran
 * Date: Aug 13, 2009
 * Time: 10:43:46 PM
 * a method annotatde with this annotation is used as a rule with one condition.
 */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({java.lang.annotation.ElementType.METHOD})
public @interface Rule {
 BusinessRuleType value() default BusinessRuleType.derived;   

}
